Skip to content

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Oct 29, 2024

I.e. they're equal to their FFI representation, not equal to a pointer of their FFI representation.

Fixes #1554


@pbor you introduced this in 84c951e. Sorry for not catching that. I'll backport this breaking change to the 0.20 branch and include it in the next bugfix release because this was simply wrong and could've only worked by chance (and usually involve memory corruption).

…ansparentType`

I.e. they're equal to their FFI representation, not equal to a pointer
of their FFI representation.

Fixes gtk-rs#1554
@sdroege sdroege added the needs-backport PR needs backporting to the current stable branch label Oct 29, 2024
@sdroege sdroege merged commit fc2917d into gtk-rs:main Oct 29, 2024
48 checks passed
@sdroege sdroege deleted the derive-boxed-no-transparent-ptr-type branch October 29, 2024 12:54
@sdroege
Copy link
Member Author

sdroege commented Oct 29, 2024

Will do a bugfix release some time later today

@sdroege sdroege added backported PR was backported to the current stable branch and removed needs-backport PR needs backporting to the current stable branch labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backported PR was backported to the current stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] glib-macros started regressing with rustc 1.82.0 on 32-bit arches

2 participants